The addiscsidisk
command attaches
an iSCSI network storage unit to VirtualBox. The iSCSI target can then be
made available to and used by a virtual machine as though it were a
standard write-through virtual disk image.
This command has the following syntax:
VBoxManage addiscsidisk -server <name>|<ip> -target <target> [-port <port>] [-lun <lun>] [-username <username>] [-password <password>] [-comment <comment>]
where the parameters mean:
The host name or IP address of the iSCSI target.
Target name string. This is determined by the iSCSI target and used to identify the storage resource.
TCP/IP port number of the iSCSI service on the target (optional).
Logical Unit Number of the target resource (optional). Often, this value is zero.
Username and password for target authentication, if required (optional).
Currently, username and password are stored without encryption (i.e. in cleartext) in the machine configuration file.
Any description that you want to have stored with this item (optional; e.g. "Big storage server downstairs"). This is stored internally only and not needed for operation.